package org.seckill.dao;

import org.apache.ibatis.annotations.Param;
import org.seckill.entity.SuccessKilled;

import java.util.Map;

/**
 * Created by SliverZhang on 2017/10/31.
 */

/*
*       goto -->test-->new test
* */
public interface SuccessKilledDao {
    int insertSuccessedKilled(@Param("seckillId")long seckillId,@Param("userPhone") long userPhone);


//    SuccessKilled queryByIdWithSeckill(@Param("seckilledId")long seckilledId,@Param("userPhone") long userPhone);

    SuccessKilled queryByIdWithSeckill(Map map);

    SuccessKilled queryByIdWithSeckill(@Param("seckillId") long seckillId,@Param("userPhone") long userPhone);
}
